package com.wty.design.creational.factoryMethod;

public class Test {
    public static void main(String args[]){
        VideoFactory videoFactory=new JavaVideoFactory();
        Video video=videoFactory.getVideo();
        video.produce();

        VideoFactory videoFactory2=new PythonVideoFactory();
        Video video2=videoFactory2.getVideo();
        video2.produce();
    }
}
